package com.credithc.fastdfs.monitor.service;

import java.util.List;

import com.credithc.fastdfs.api.entity.DownloadFileRecord;
import com.credithc.fastdfs.api.entity.FdfsInfo;


public interface FileDataService {
   List<FdfsInfo> getFileListByGroupName(String groupName);

    /**
     *   根据ip和fileId去数据库中查找是否存在DownloadFileRecord对象
     * @param ip
     * @param fileId
     * @return
     */
   DownloadFileRecord getDownloadFileRecordByIpAndFileId(String ip, String fileId);
    //保存 DownloadFileRecord对象
    void saveDF(DownloadFileRecord downloadFileRecord);
}